Ubuntu 15.04
Sponsored Link

Install Dovecot
2015/05/25
 
Install Dovecot to configure POP/IMAP server. POP uses 110/TCP, IMAP uses 143/TCP.
[1] This example shows to configure to provide SASL function to Postfix.
root@mail:~#
apt-get -y install dovecot-core dovecot-pop3d dovecot-imapd
root@mail:~#
vi /etc/dovecot/dovecot.conf
# line 25: add

protocols = imap pop3
# line 30: change ( if not listen IPv6 port )

listen =
*
root@mail:~#
vi /etc/dovecot/conf.d/10-auth.conf
# line 10: uncomment and change ( allow plain text auth )

disable_plaintext_auth =
no
# line 100: add

auth_mechanisms = plain
login
root@mail:~#
vi /etc/dovecot/conf.d/10-mail.conf
# line 30: change to Maildir

mail_location =
maildir:~/Maildir
root@mail:~#
vi /etc/dovecot/conf.d/10-master.conf
# lien 96-98: uncomment and add

# Postfix smtp-auth
unix_listener /var/spool/postfix/private/auth {
    mode = 0666
    user = postfix
    group = postfix
}
root@mail:~#
vi /etc/dovecot/conf.d/10-ssl.conf
# line 6: uncomment and change (no SSL)

ssl =
no
# line 12,13: comment out

#
ssl_cert = </etc/dovecot/dovecot.pem
#
ssl_key = </etc/dovecot/private/dovecot.pem
root@mail:~#
systemctl restart dovecot

 
Tweet